<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="autor" content="Breezy New Media (info@breezy.cz)" />
<meta name="copyright" content="PointSpace - free website layout 2008" />
<meta name="description" content=""  />
<meta name="keywords" content="" />
<title>Advanced Databases TUE - Login</title>
<link rel="stylesheet" type="text/css" href="./css/default.css" media="screen" />
<link rel="stylesheet" type="text/css" href="./css/print.css" media="print" />
</head>
<body>
<div id="view">
  <f:view>
  <div id="head">
    <div id="logo">
      <a href="" class="block">&nbsp;</a>
      <h1><a href="index.html">advanced<span>Database</span></a></h1>
      <h2><a href="index.html">the music you are looking for..!</a></h2>
    </div>
    <hr class="hidden" />
    <div id="mainMenu">
      
    </div>
    <hr class="hidden" />
  </div>
  
  <div id="content">
    <div id="contentBlock">
      <div class="col1">
        <div class="item">
          <h3>Login</h3>
	    	<div class="info">
	    		<h:form>
	    			<table class="info">
	    				<tr>
	    					<td>User ID:
	    					</td>
	    					<td><h:inputText value="#{loginManagerBean.loginId}"/>
	    					</td>
	    				</tr>
	    				<tr>
	    					<td>Password:
	    					</td>
	    					<td>
	    						<h:inputSecret value="#{loginManagerBean.password}"/>
	    					</td>
	    				</tr>
	    				<tr>
	    					<td colspan="2">
	    						<h:commandButton styleClass="submit" value="Login" action="#{loginManagerBean.loginAction}"/>
	    					</td>
	    				</tr>
	    				<tr>
	    					<td colspan="2">
								<div style="padding-left:10px">
			                	<span><b>Don't you have a ID?</b><p/>Signing up is easy.
			                		<h:commandLink action="register" value="Sign Up"></h:commandLink>
			                	</span>
			                	</div>	    					
	    					</td>
	    				</tr>
	    			</table>

	                
	            </h:form>
	         </div>
        </div>
        <div class="item last">
          <h3>Our recommendations</h3>
          <p class="info">The most active albums, artists, tracks...</p>
        </div>
      </div>
      <!-- /#cols 50:50 -->
    </div>
    
    <hr class="hidden" />
    
    <div id="menuBlock">
      <div class="box boxText">
        <h3>Personal profile:</h3>
        <p><strong><h:outputText value="#{loginManagerBean.lastName}"/>, <h:outputText value="#{loginManagerBean.firstName}"/></strong><br />email:&nbsp;<a href="index.html"><h:outputText value="#{loginManagerBean.email}"/></a></p>
      </div>
    </div>
  </div>
  
  <hr class="hidden" />
  <ul class="hidden">
    <li><a href="#view">Nahoru</a></li>
    <li><a href="#content">Zpět na obsah</a></li>
  </ul>
  <hr class="hidden" />
  <!-- /#pristupne prvky stranky - neodstranovat !!! -->
  
  <div id="foot">
    <p class="fl">&copy; all rights reserved</p>
    
    
    
    <!-- /#   LINKS AND AUTHOR-SIGNATURE CANNOT BE REMOVED !!! -->
    <p class="fr"><a href="www.tue.nl" title="See more ON">TUE</a> created by <a href="http://www.tue.nl" class="ico ico-breezy">TUE</a></p>
  </div>
  </f:view>
</div>
</body>

</html>
